package com.builder.demo01;

/**
 * 导演类
 */
public class Director {
    private Builder builder = new ConcreteBuilder();

    // 构造不同的产品
    public Product getProductA(){
        builder.setPart();
        return builder.buildProduct();
    }

}
